package org.anti996.lms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 运单
 * </p>
 *
 * @author The Anti996 Authors
 * @since 2022-07-15
 */
@Getter
@Setter
  @ApiModel(value = "Transport对象", description = "运单")
public class Transport implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("运单编号")
        @TableId(value = "t_num", type = IdType.AUTO)
      private Integer tNum;

      @ApiModelProperty("货车编号")
      private Integer tId;

      @ApiModelProperty("司机编号")
      private Integer dId;

      @ApiModelProperty("发货仓库编号")
      private Integer wIdFrom;

      @ApiModelProperty("收货仓库编号")
      private Integer wIdTo;

      @ApiModelProperty("出发时间")
      private LocalDateTime depart;

      @ApiModelProperty("到达时间")
      private LocalDateTime arrive;

      @ApiModelProperty("逻辑删除")
      @TableLogic
      private Boolean deleted;
}
